package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.CourseCollect;
import com.hualan.sfzy.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
* @author LENOVO
* @description 针对表【course_collect】的数据库操作Mapper
* @createDate 2025-07-16 21:31:34
* @Entity dao.CourseCollect
*/
@Mapper
public interface CourseCollectMapper extends BaseMapper<CourseCollect> {

    int insert(CourseCollect courseCollect);

    int update(CourseCollect courseCollect);

    int delete(Integer id);

    int deleteBatch(Integer[] ids);

    List<CourseCollect> select(Integer userId);

    CourseCollect selectById(Integer id);
    List<CourseCollect> selectByIds(Integer id);

    List<CourseCollect> selectAll();

    CourseCollect selectItem(CourseCollect courseCollect);
}
